import Home from "../views/home";
import BasicDivider from "../components/layout";
import Seller from "../views/seller";
import Trend from "../views/trend";
import Map from "../views/map";
import Rank from "../views/rank";
import Hot from "../views/hot";

export const routers = [
  {
    path: "/",
    element: <Seller />,
  },
  {
    path: "/trend",
    element: <Trend />,
  },
  {
    path: "/map",
    element: <Map />,
  },
  {
    path: "/rank",
    element: <Rank />,
  },
  {
    path: "/hot",
    element: <Hot />,
  },
  {
    path: "/layout",
    element: <BasicDivider />,
    // 子路由
    children: [
      {
        index: true,
        element: <Home />,
      },
    ],
  },
];
